﻿<Window x:Class="RegistryConfiguration.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Configuração dos Parâmentros de Conexão" Height="462" Width="345" Loaded="Window_Loaded" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Window.Resources>
        <Style x:Name="EstiloTela" TargetType="{x:Type Button}" >
            <Setter Property="HorizontalAlignment" Value="Right" />
        </Style>
    </Window.Resources>
	<StackPanel Height="Auto" Width="Auto">
		<GroupBox Header="String de Conexão" Width="220" Margin="0,10,0,0" Height="190">
			<Grid Height="155" Width="214">
				<TextBox Margin="0,28.723,24.75,0" Text="" TextWrapping="Wrap" x:Name="TxtMinPoolSize" Height="23" VerticalAlignment="Top" HorizontalAlignment="Right" d:LayoutOverrides="Width" PreviewKeyDown="TxtMinPoolSize_PreviewKeyDown" TabIndex="1" />
				<TextBox Margin="0,0,24.75,0" VerticalAlignment="Top" Height="23" Text="" TextWrapping="Wrap" x:Name="TxtMaxPoolSize" HorizontalAlignment="Right" d:LayoutOverrides="Width" PreviewKeyDown="TxtMaxPoolSize_PreviewKeyDown" TabIndex="0" />
				<Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Max Pool Size:"/>
				<Label HorizontalAlignment="Left" Margin="0,28.723,0,0" VerticalAlignment="Top" Content="Min Pool Size:"/>
				<Label HorizontalAlignment="Left" Margin="0,57,0,0" Content="TimeOut:" Width="55.45" HorizontalContentAlignment="Left" d:LayoutOverrides="VerticalAlignment" />
				<TextBox Margin="0,57,24.75,0" Text="" TextWrapping="Wrap" x:Name="TxtTimeOut" Height="23" VerticalAlignment="Top" HorizontalAlignment="Right" d:LayoutOverrides="Width" PreviewKeyDown="TxtTimeout_PreviewKeyDown" TabIndex="2" />
				<CheckBox Margin="87.5,0,26.5,1" VerticalAlignment="Bottom" Content="Pooling?" VerticalContentAlignment="Bottom" x:Name="chkPooling" Height="20.277" TabIndex="5" />
				<Label HorizontalAlignment="Left" Margin="0,0,0,47" Width="90" Height="23" VerticalAlignment="Bottom" Content="Oracle Instance:" HorizontalContentAlignment="Left"/>
				<TextBox Margin="0,0,24.75,45" x:Name="TxtInstance" TextWrapping="Wrap" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" d:LayoutOverrides="Width" TabIndex="3" />
				<CheckBox Height="22" Margin="87.5,0,26.5,17" x:Name="chkEncriptado" VerticalAlignment="Bottom" VerticalContentAlignment="Bottom" Content="Is Encrypted?" TabIndex="4" />
			</Grid>
		</GroupBox>
		<GroupBox Header="Usuário e Senha" Height="118" Width="220" Margin="0,15,0,0">
			<Grid Height="90" Width="220">
				<PasswordBox Margin="92.5,30,27.5,37" x:Name="TxtPassword" Height="23" TabIndex="7" />
				<TextBox Height="23" Margin="92.5,3,27.5,0" TextWrapping="Wrap" VerticalAlignment="Top" x:Name="TxtUser" TabIndex="6" />
				<Label HorizontalAlignment="Left" VerticalAlignment="Top" Content="Usuário:"/>
				<Label HorizontalAlignment="Left" Margin="0,28,0,37" Width="43.85" Content="Senha:" HorizontalContentAlignment="Left"/>
				<Label HorizontalAlignment="Left" Margin="0,0,0,10" Width="94.79" Height="23" VerticalAlignment="Bottom" Content="Repetição Senha:" HorizontalContentAlignment="Left"/>
				<PasswordBox Height="23" Margin="92.79,0,27.21,10" x:Name="TxtRepeticao" VerticalAlignment="Bottom" TabIndex="8" />
			</Grid>
		</GroupBox>
		<Button Height="23" x:Name="BtnSalvar" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="74" Click="BtnSalvar_Click" Content="     Salvar" Margin="0,15,0,0"/>
	</StackPanel>
</Window>
